package com.ddwl.schema.bo.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author hemiaojun
 * @Date 2020/11/20 19:32
 */
@Getter
@Setter
@ApiModel("栏目下文章排序bo")
public class ColumnEssaySortBo {

    @NotNull(message = "栏目id不能为空")
    @ApiModelProperty("栏目id")
    private String academyColumnId;

    @NotNull(message = "文章id不能为空")
    @ApiModelProperty("文章id")
    private String essayId;

    @NotNull(message = "排序值不能为空")
    @ApiModelProperty("排序")
    private Integer sort;


}
